package com.muxi.association.util;

/**
 * @author zxw
 */

public enum ExceptionResultEnum {
    SUCCESS(200, "返回数据正常"),
    NO_AUTHORITY(401,"权限不足"),
    ERROR(400, "返回数据异常");
    public Integer code;
    public String message;

    ExceptionResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
